﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class shopping3 : System.Web.UI.Page
{
    public string orderId;
    public string payname;
    public string paytel;
    
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            //var ordernumber = Request["orderID"];
            pay.BLL.OrderBLL orderbll = new pay.BLL.OrderBLL();

            if (Request["orderid"]!= null)
            {
                //ordernumber = ordernumber.Split(',')[0];
                string ordernumber = Request["orderid"].ToString().Trim();
                pay.Entity.Web_Order orders = orderbll.GetOrderByOrderNumber(ordernumber);
                orderId = ordernumber;
                payname = orders.Username.Trim();
                paytel = orders.Mobile;

            }
            else
            {
                Response.Write("<script>alert('false');</script>");
                return;
            }



        }
        
    }
    



}